<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <!--<meta name="viewport"-->
    <!--content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">-->
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>首页</title>
    <link rel="stylesheet" href="../lib/bootstrap/css/bootstrap.min.css">
    <link rel="stylesheet" href="../lib/font-awesome/css/font-awesome.min.css">
    <link rel="stylesheet" href="../css/main.css">

    <!--[if lt IE 9]>
    <script src="../lib/html5shiv/html5shiv.min.js"></script>
    <script src="../lib/respond/respond.min.js"></script>
    <![endif]-->
</head>
<body>

<div id="error">
    <h1 class="text-danger text-center"><i class="fa fa-warning">&nbsp;</i>进入错误</h1>
</div>

<div id="correct">
    <header>
        <div class="container">
            <h1>天天后台管理系统</h1>
            <!--用户-->
            <div class="dropdown pull-right">
                <button class="btn btn-link dropdown-toggle" id="username" data-toggle="dropdown" aria-haspopup="true"
                        aria-expanded="true">

                    <span class="caret"></span>
                </button>
                <ul class="dropdown-menu" aria-labelledby="username">
                    <li><a href="javascript:void (0);" id="balanceBtn"><i class="fa fa-rmb"></i>余额</a></li>
                    <!--<li><a href="javascript:void (0);"><i class="fa fa-unlock-alt"></i>修改密码</a></li>-->
                    <!--<li><a href="javascript:void (0);"><i class="fa fa-sign-out"></i>注销</a></li>-->
                </ul>
            </div>
        </div>
    </header>
    <main>
        <div class="menu">
            <!--<ul>-->
            <!--<li class="active">-->
            <!--<a href="javascript:void(0);">用户充值</a>-->
            <!--</li>-->
            <!--</ul>-->

            <!-- Nav tabs -->
            <ul class="nav nav-tabs" role="tablist">
                <li role="presentation" class="active"><a href="#recharge" aria-controls="home" role="tab"
                                                          data-toggle="tab">用户充值</a></li>
                <li role="presentation"><a href="#profile" aria-controls="profile" role="tab"
                                           data-toggle="tab">Profile</a></li>
                <li role="presentation"><a href="#messages" aria-controls="messages" role="tab" data-toggle="tab">Messages</a>
                </li>
                <li role="presentation"><a href="#settings" aria-controls="settings" role="tab" data-toggle="tab">Settings</a>
                </li>
            </ul>
        </div>
        <div class="content">
            <!-- Tab panes -->
            <div class="tab-content">
                <div role="tabpanel" class="tab-pane active" id="recharge">
                    <iframe src="recharge.html"></iframe>
                </div>
                <div role="tabpanel" class="tab-pane" id="profile">profile</div>
                <div role="tabpanel" class="tab-pane" id="messages">messages</div>
                <div role="tabpanel" class="tab-pane" id="settings">settings</div>
            </div>
        </div>
    </main>
</div>

<!--余额的模态框-->
<div class="modal fade" id="balanceModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span>
                </button>
                <h4 class="modal-title">账户余额</h4>
            </div>
            <div class="modal-body">
                <div class="form-group">
                    <label for="balanceInput">账户余额(￥)</label>
                    <input type="number" disabled class="form-control" id="balanceInput" min="0">
                    <br>
                    <label for="lastpaidInput">上次消费时间</label>
                    <input type="text" disabled class="form-control" id="lastpaidInput">
                </div>
            </div>
            <div class="modal-footer">
                <!--<button type="button" class="btn btn-danger" style="background-color:#d9534f;" data-dismiss="modal">取消-->
                <!--</button>-->
                <button type="button" class="btn btn-primary" data-dismiss="modal">确定</button>
            </div>
        </div>
    </div>
</div>

<script src="../lib/jquery/jquery.min.js"></script>
<script src="../lib/bootstrap/js/bootstrap.min.js"></script>
<script src="../js/main.js"></script>
</body>
</html>